<%--
  Created by IntelliJ IDEA.
  User: lining
  Date: 2017/3/28
  Time: 下午4:38
  To change this template use File | Settings | File Templates.
--%>
<%@ include file="common/taglib.jsp" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>撰写新闻</title>
</head>
<body>
<form action="/News/writing" method="post">
  标题：<input type="text" name="title" id="title"/>
  内容：<input type="text" name="content" id="content"/>
  <input type="submit" value="提交"/>
</form>
<p>${insertExcution.stateInfo}</p>
<c:if test="${insertExcution.state} != 1" >
<a href="/News/${insertExcution.newsId}/detail">明细</a>
</c:if>
</body>
</html>
